from celery_tasks.celery import cel
import time

@cel.task
def send_email(res):
    print("完成%s发送邮件任务" % res)
    time.sleep(5)
    return "邮件发送完成"